package com.navid.trafalgar.definition;

import com.jme3.math.Vector2f;

/**
 *
 * @author alberto
 */
public class WindDefinition {
    
    private float [] vector;

    /**
     * @return the vector
     */
    public float [] getVector() {
        return vector;
    }

    /**
     * @param vector the vector to set
     */
    public void setVector(float [] vector) {
        this.vector = vector.clone();
    }
    
    public Vector2f getVector2f(){
        return new Vector2f(vector[0], vector[1]);
    }
    
}
